package com.cn.wanxi.service.impl;

import com.cn.wanxi.entity.SortEntity;
import com.cn.wanxi.mapper.SortMapper;
import com.cn.wanxi.service.ISortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SortServiceImpl implements ISortService {

    @Autowired
    private SortMapper sortMapper;

    @Override
    public List<SortEntity> findAll() {

        return sortMapper.findAll();
    }
        @Override
    public List<SortEntity> getSort() {

        return sortMapper.getSort();
    }


}

